﻿<%@ Page Language="c#" CodeBehind="ProjectList.aspx.cs" AutoEventWireup="false" Inherits="ACRSAP.Administration.Projects.ProjectList" %>

<%@ Register TagPrefix="it" TagName="AdminTabs" Src="~/Administration/UserControls/AdminTabs.ascx" %>
<%@ Register TagPrefix="it" TagName="Header" Src="~/UserControls/Header.ascx" %>
<%@ Register TagPrefix="it" TagName="Footer" Src="~/UserControls/Footer.ascx" %>
<it:Header Title="Project List" TabName="Administration" runat="server" ID="Header1" />
<form runat="server">
<it:AdminTabs CurrentTabName="Projects" runat="server" ID="AdminTabs1" />
<table>
    <tr>
        <td>
            <table cellspacing="20">
                <tr>
                    <td>
                        <asp:button text="Create New Project" runat="server" id="btnAdd" />
                        &nbsp;&nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:datagrid id="ProjectsGrid" allowpaging="True" cellpadding="2" autogeneratecolumns="False"
                            allowsorting="True" runat="server">
								<HeaderStyle ></HeaderStyle>
								<Columns>
									<asp:HyperLinkColumn DataNavigateUrlField="Id" DataNavigateUrlFormatString="EditProject.aspx?id={0}"
										DataTextField="Name" SortExpression="Name" HeaderText="Project">
										<HeaderStyle ></HeaderStyle>
										<ItemStyle ></ItemStyle>
									</asp:HyperLinkColumn>
									<asp:TemplateColumn HeaderText="Description">
										<HeaderStyle ></HeaderStyle>
										<ItemStyle></ItemStyle>
										<ItemTemplate>
                        &nbsp;<%# DataBinder.Eval(Container.DataItem, "Description")%>
                    
</ItemTemplate>
									</asp:TemplateColumn>
									<asp:TemplateColumn SortExpression="Manager" HeaderText="ACI Admistator">
										<HeaderStyle  ></HeaderStyle>
										<ItemStyle ></ItemStyle>
										<ItemTemplate>
                        &nbsp;<%# DataBinder.Eval(Container.DataItem, "ManagerDisplayName")%>
                    
</ItemTemplate>
									</asp:TemplateColumn>
									<asp:TemplateColumn SortExpression="Creator" HeaderText="Creator">
										<HeaderStyle  ></HeaderStyle>
										<ItemStyle ></ItemStyle>
										<ItemTemplate>
                        &nbsp;<%# DataBinder.Eval(Container.DataItem, "CreatorDisplayName" )%>
                    
</ItemTemplate>
									</asp:TemplateColumn>
									<asp:TemplateColumn SortExpression="Created" HeaderText="Date Created">
										<HeaderStyle ></HeaderStyle>
										<ItemStyle ></ItemStyle>
										<ItemTemplate>
                        &nbsp;<%# DataBinder.Eval(Container.DataItem, "DateCreated", "{0:d}" )%>
                    
</ItemTemplate>
									</asp:TemplateColumn>
								</Columns>
								<PagerStyle ></PagerStyle>
							</asp:datagrid>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</form>
<it:Footer runat="server" ID="Footer1" />
